/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.board;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.board.BoardType;

/**
 * @author Alucard (email:357375084@qq.com)
 * @since 2013-03-14
 */
public interface boardtypeService {

    /****************************************
     * Insert a instace of boardtype
     ****************************************/
    void insert(BoardType boardtype) throws Exception;

    /****************************************
     * Insert instaces of boardtype
     ****************************************/
    void batchInsert(BoardType boardtype) throws Exception;

    /****************************************
     * Delete a instace of boardtype
     ****************************************/
    void delete(BoardType boardtype) throws Exception;

    /****************************************
     * Delete instaces of boardtype
     ****************************************/
    void batchDelete(BoardType boardtype) throws Exception;

    /****************************************
     * Update a instace of boardtype
     ****************************************/
    void update(BoardType boardtype) throws Exception;

    /****************************************
     * Query instaces of boardtype
     ****************************************/
    List<BaseModel> queryAsList(BoardType boardtype) throws Exception;

    /****************************************
     * Query a instaces of boardtype
     ****************************************/
    BaseModel queryAsObject(BoardType boardtype) throws Exception;
}
